package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * TbPaper entity. @author MyEclipse Persistence Tools
 */

public class TbPaper implements java.io.Serializable {

	// Fields

	private Integer paperId;
	private TbCourse tbCourse;
	private String paperName;
	private Integer totalScore;
	private String paperPeople;
	private Set tbExams = new HashSet(0);
	private Set tbQuestioninpapers = new HashSet(0);
	private Set tbPractices = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbPaper() {
	}

	/** minimal constructor */
	public TbPaper(TbCourse tbCourse, String paperName, Integer totalScore,
			String paperPeople) {
		this.tbCourse = tbCourse;
		this.paperName = paperName;
		this.totalScore = totalScore;
		this.paperPeople = paperPeople;
	}

	/** full constructor */
	public TbPaper(TbCourse tbCourse, String paperName, Integer totalScore,
			String paperPeople, Set tbExams, Set tbQuestioninpapers,
			Set tbPractices) {
		this.tbCourse = tbCourse;
		this.paperName = paperName;
		this.totalScore = totalScore;
		this.paperPeople = paperPeople;
		this.tbExams = tbExams;
		this.tbQuestioninpapers = tbQuestioninpapers;
		this.tbPractices = tbPractices;
	}

	// Property accessors

	public Integer getPaperId() {
		return this.paperId;
	}

	public void setPaperId(Integer paperId) {
		this.paperId = paperId;
	}

	public TbCourse getTbCourse() {
		return this.tbCourse;
	}

	public void setTbCourse(TbCourse tbCourse) {
		this.tbCourse = tbCourse;
	}

	public String getPaperName() {
		return this.paperName;
	}

	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}

	public Integer getTotalScore() {
		return this.totalScore;
	}

	public void setTotalScore(Integer totalScore) {
		this.totalScore = totalScore;
	}

	public String getPaperPeople() {
		return this.paperPeople;
	}

	public void setPaperPeople(String paperPeople) {
		this.paperPeople = paperPeople;
	}

	public Set getTbExams() {
		return this.tbExams;
	}

	public void setTbExams(Set tbExams) {
		this.tbExams = tbExams;
	}

	public Set getTbQuestioninpapers() {
		return this.tbQuestioninpapers;
	}

	public void setTbQuestioninpapers(Set tbQuestioninpapers) {
		this.tbQuestioninpapers = tbQuestioninpapers;
	}

	public Set getTbPractices() {
		return this.tbPractices;
	}

	public void setTbPractices(Set tbPractices) {
		this.tbPractices = tbPractices;
	}

}